package com.ruoyi.yuan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 网格对象 yuan_cell
 * 
 * @author guifeng
 * @date 2022-08-21
 */
public class Cell extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 网格ID */
    private Long cellId;

    /** 网格名 */
    @Excel(name = "网格名")
    private String cellName;

    /** 星星ID */
    @Excel(name = "星星ID")
    private Long starId;

    /** 横坐标 */
    @Excel(name = "横坐标")
    private Long starX;

    /** 纵坐标 */
    @Excel(name = "纵坐标")
    private Long starY;

    /** 类型（0建筑物 1楼层 2房间 3未知） */
    @Excel(name = "类型", readConverterExp = "0=建筑物,1=楼层,2=房间,3=未知")
    private Long cellType;

    /** 序号 */
    @Excel(name = "序号")
    private Long cellNum;

    /** 组织ID */
    @Excel(name = "组织ID")
    private Long orgId;

    /** 描述 */
    @Excel(name = "描述")
    private String cellDesc;

    public void setCellId(Long cellId) 
    {
        this.cellId = cellId;
    }

    public Long getCellId() 
    {
        return cellId;
    }
    public void setCellName(String cellName) 
    {
        this.cellName = cellName;
    }

    public String getCellName() 
    {
        return cellName;
    }
    public void setStarId(Long starId) 
    {
        this.starId = starId;
    }

    public Long getStarId() 
    {
        return starId;
    }
    public void setStarX(Long starX) 
    {
        this.starX = starX;
    }

    public Long getStarX() 
    {
        return starX;
    }
    public void setStarY(Long starY) 
    {
        this.starY = starY;
    }

    public Long getStarY() 
    {
        return starY;
    }
    public void setCellType(Long cellType) 
    {
        this.cellType = cellType;
    }

    public Long getCellType() 
    {
        return cellType;
    }
    public void setCellNum(Long cellNum) 
    {
        this.cellNum = cellNum;
    }

    public Long getCellNum() 
    {
        return cellNum;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setCellDesc(String cellDesc) 
    {
        this.cellDesc = cellDesc;
    }

    public String getCellDesc() 
    {
        return cellDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cellId", getCellId())
            .append("cellName", getCellName())
            .append("starId", getStarId())
            .append("starX", getStarX())
            .append("starY", getStarY())
            .append("parentId", getParentId())
            .append("cellType", getCellType())
            .append("cellNum", getCellNum())
            .append("orgId", getOrgId())
            .append("cellDesc", getCellDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
